#include <iostream>
#include <string>
#include "assert.h"
#include "split_string.h"
#include "split_string_test.h"
using std::string;
using std::cout;
using std::endl;

void SplitStringTest::testSplitNormal( ){
    string myfunc = "name|like bb|:::";
  vector<string> spl = split(myfunc, '|');

   
  for(int i = 0; i < spl.size(); ++i)
    cout << spl[i] << endl;

}
void SplitStringTest::testSplitBlank( ){
string myfunc = "";
  vector<string> spl = split(myfunc, '|');
   
  for(int i = 0; i < spl.size(); ++i)
    cout << spl[i] << endl;

}